-- GENERATED SPELL FOR [Deathguard Lawson] --


function spell0_25083(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25083', 5320, 1)
end

function spell1_25083(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25083', 604, 1)
end

function Sorts_25083(pUnit, Event)
local choix_sorts_25083 = math.random(0, 1)
if choix_sorts_25083 == 0 then
pUnit:RegisterEvent('spell0_25083', 1, 1)
end
if choix_sorts_25083 == 1 then
pUnit:RegisterEvent('spell1_25083', 1, 1)
end
end

function mob25083_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25083', math.random(1500, 3000), 1)
end

function mob25083_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25083_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25083_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25083, 1, 'mob25083_Action')
RegisterUnitEvent(25083, 2, 'mob25083_Leave')
RegisterUnitEvent(25083, 3, 'mob25083_Kill')
RegisterUnitEvent(25083, 4, 'mob25083_Die')
